package com.itheima.scanner;

import java.util.Scanner;

public class tdemo1 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的姓名：");
        String name = scanner.nextLine();
        System.out.println("your name is " + name);
        System.out.println("please input your age");
        int age = scanner.nextInt();
        System.out.println("your age is " + age);


    }
}
